take command line arguments